package com.niiwoo.civet.account.service.local.check.job.util;

import java.io.File;

public class FileUtil {
	public static void deleteFile(File f) {
		if (f.isDirectory()) {
			File dir = f;
			File[] childFiles = dir.listFiles(); 
			for (File tmpFile : childFiles) {
				deleteFile(tmpFile);
			}
			dir.delete();
		} else {
			f.delete();
		}
	}
}
